

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Deployment Setup &mdash; Cogent Viewer 0.1 documentation</title>
    
    <link rel="stylesheet" href="_static/rtd.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Cogent Viewer 0.1 documentation" href="index.html" />
    <link rel="up" title="Working with the Web Interface" href="webinterface.html" />
    <link rel="next" title="Working with the software" href="code.html" />
    <link rel="prev" title="Terminology Used" href="terminology.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="code.html" title="Working with the software"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="terminology.html" title="Terminology Used"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Cogent Viewer 0.1 documentation</a> &raquo;</li>
          <li><a href="webinterface.html" accesskey="U">Working with the Web Interface</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="deployment-setup">
<h1>Deployment Setup<a class="headerlink" href="#deployment-setup" title="Permalink to this headline">¶</a></h1>
<p>This section provides a guide to setting up and managing deployments.</p>
<div class="section" id="hardware-setup">
<h2>Hardware Setup<a class="headerlink" href="#hardware-setup" title="Permalink to this headline">¶</a></h2>
<div class="section" id="setup-the-server">
<h3>Setup the Server<a class="headerlink" href="#setup-the-server" title="Permalink to this headline">¶</a></h3>
<ol class="arabic simple">
<li>Connect the server node to the server using the USB cable</li>
<li>Connect the server to the router, using the Ethernet cable</li>
<li>Connect the devices to the power supply.</li>
</ol>
</div>
<div class="section" id="deploy-the-nodes">
<h3>Deploy the Nodes<a class="headerlink" href="#deploy-the-nodes" title="Permalink to this headline">¶</a></h3>
<p>Place a node in each room ensuring you make a note of where the nodes</p>
</div>
<div class="section" id="node-placement-tips">
<h3>Node Placement Tips<a class="headerlink" href="#node-placement-tips" title="Permalink to this headline">¶</a></h3>
</div>
</div>
<div class="section" id="registering-a-new-deployment">
<h2>Registering a new deployment<a class="headerlink" href="#registering-a-new-deployment" title="Permalink to this headline">¶</a></h2>
<div class="section" id="connect-to-the-server">
<h3>Connect to the server<a class="headerlink" href="#connect-to-the-server" title="Permalink to this headline">¶</a></h3>
<p>Connect to the wireless network, the network name will generally be that of the server.
For example <em>GAUSS</em> or <em>EINSTEIN</em>.</p>
<p>To connect to a network on an Ipad, go to the setting page -&gt; Wi-Fi and select
the appropriate network. The image below shows an example of connecting to the
<em>tesla</em> wireless network.</p>
<div class="figure">
<img alt="_images/Wifi.png" src="_images/Wifi.png" style="width: 640px;" />
<p class="caption">Connecting to a wireless network.</p>
</div>
</div>
<div class="section" id="open-the-server-administration-web-page">
<h3>Open the Server Administration Web Page<a class="headerlink" href="#open-the-server-administration-web-page" title="Permalink to this headline">¶</a></h3>
<p>Open the server administration page.  The web address for this page will be
<strong>&lt;server&gt;.local/webInterface/</strong></p>
<p>Examples of the web address for a given server are:</p>
<table border="1" class="docutils">
<colgroup>
<col width="31%" />
<col width="69%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td>Server Name</td>
<td>URL</td>
</tr>
<tr class="row-even"><td>gauss</td>
<td>gauss.local/webInterface</td>
</tr>
<tr class="row-odd"><td>einstein</td>
<td>einstein.local/webInterface</td>
</tr>
<tr class="row-even"><td>euler</td>
<td>euler.local/webInterface</td>
</tr>
</tbody>
</table>
<p>The web interface should display the following page.</p>
<div class="figure">
<img alt="_images/Homepage.png" src="_images/Homepage.png" style="width: 640px;" />
<p class="caption">Connecting to the Homepage</p>
</div>
<p>To register a new house, click the <strong>add new house</strong> button</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">If there are active deployments that have finished, you can use the edit
function to close the deployment.</p>
</div>
<p>This should bring the <strong>add house</strong> page</p>
</div>
<div class="section" id="add-a-new-house">
<h3>Add a new house<a class="headerlink" href="#add-a-new-house" title="Permalink to this headline">¶</a></h3>
<p>Complete / Edit the details of the new house and click save</p>
<ul class="simple">
<li>The deploymnent group is a logical grouping of deployments (ie Winter 2011)</li>
<li>Start and End data correspond to when the nodes were deployed at this location
If the house has no pre-aranged end date, this field can be left blank.</li>
</ul>
<div class="figure">
<img alt="_images/registerHouse.png" src="_images/registerHouse.png" style="width: 640px;" />
<p class="caption">Registering a new house at 10 acacia avenue.</p>
</div>
</div>
<div class="section" id="register-deployment-nodes">
<h3>Register Deployment Nodes<a class="headerlink" href="#register-deployment-nodes" title="Permalink to this headline">¶</a></h3>
<p>Selecting Save should refresh the page with the following additional information</p>
<div class="figure">
<img alt="_images/registerNodes.png" src="_images/registerNodes.png" style="width: 640px;" />
<p class="caption">Registering new nodes to a house</p>
</div>
<ul>
<li><p class="first"><strong>Registered Nodes</strong> are those currently active within a deployment</p>
</li>
<li><dl class="first docutils">
<dt><strong>Recently Heard Nodes</strong> are those that the have transmitted data to the</dt>
<dd><p class="first last">server recently, along with information on their current deployment location</p>
</dd>
</dl>
</li>
</ul>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<dl class="last docutils">
<dt>A Node can only be active in one house at any one time.  If a node is missing</dt>
<dd>from the registered nodes list you can use the recently heard nodes list to
double check that is registered to the current property.</dd>
</dl>
</div>
<p>You now have two options to register nodes within a deployment.</p>
<div class="section" id="registering-individual-nodes">
<h4>Registering Individual Nodes<a class="headerlink" href="#registering-individual-nodes" title="Permalink to this headline">¶</a></h4>
<p>Click the <strong>Register New Node</strong> button.  This will display the following dialog:</p>
<div class="figure">
<img alt="_images/registerNode.png" src="_images/registerNode.png" style="width: 600px;" />
<p class="caption">Registering an indivudual node.</p>
</div>
<p>The options are as follows:</p>
<p>Node</p>
<blockquote>
<div>Select the Node ID you want to register from the drop-down list.  The Node ID is the
final number on the nodes label.  For example, the node with label
<strong>2-5-0-69</strong> has node id <strong>69</strong> If the node is not in the list, you can
<em>pre-register</em> a node with the system by entering a new nodeId.  This is
useful in situations where a node has not yet communicated with the server.</div></blockquote>
<p>Room</p>
<blockquote>
<div>Select the room the node is located in from the drop-down list. If the room
is not in the list, you can enter a new room type here.</div></blockquote>
<p>Refactor Dates</p>
<blockquote>
<div>This checkbox is an advances option that can be used when the
deployment has been running for a period of time before nodes have been
registered. When selected it registered all readings from this node between
the deployment start and end dates to the given room.</div></blockquote>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">When Registering new rooms, make use of generic descriptions (For example
Second Bedroom) This allows similar rooms to be compared across deployments.</p>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Be careful when using the <em>refactor dates</em> checkbox, as it will re-register
all readings between the house start and end date to the room within the
house. This can cause readings for one property to be assigned to another home.</p>
</div>
</div>
<div class="section" id="registering-multiple-nodes-at-the-same-time">
<h4>Registering Multiple Nodes at the Same time<a class="headerlink" href="#registering-multiple-nodes-at-the-same-time" title="Permalink to this headline">¶</a></h4>
<p>Most of the time, a deployment will involve moving a full set of nodes between houses.
In this case, the <em>recently heard nodes</em> list allows us to register multiple nodes at the same time.</p>
<p>For each node you wish to register in a new location, modify the <em>Move Node</em> dropdown box, then click the Register Selected button.
This will re-register those nodes to these locations within the current house.</p>
<div class="figure">
<img alt="_images/registerNodes.png" src="_images/registerNodes.png" style="width: 600px;" />
<p class="caption">Registering Multiple Nodes</p>
</div>
</div>
</div>
</div>
<div class="section" id="checking-node-status">
<h2>Checking Node Status<a class="headerlink" href="#checking-node-status" title="Permalink to this headline">¶</a></h2>
<p>The registered nodes screen also gives an overview of the current node status,
Before leaving a deployment, check that all nodes have a <em>GOOD</em> status, and sufficent battery voltage.</p>
<p>It is recommended that the batteries are changed when they reach 2.4 volts.</p>
<div class="figure">
<img alt="_images/nodeStatus.png" src="_images/nodeStatus.png" style="width: 600px;" />
<p class="caption">Checking node status.</p>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Deployment Setup</a><ul>
<li><a class="reference internal" href="#hardware-setup">Hardware Setup</a><ul>
<li><a class="reference internal" href="#setup-the-server">Setup the Server</a></li>
<li><a class="reference internal" href="#deploy-the-nodes">Deploy the Nodes</a></li>
<li><a class="reference internal" href="#node-placement-tips">Node Placement Tips</a></li>
</ul>
</li>
<li><a class="reference internal" href="#registering-a-new-deployment">Registering a new deployment</a><ul>
<li><a class="reference internal" href="#connect-to-the-server">Connect to the server</a></li>
<li><a class="reference internal" href="#open-the-server-administration-web-page">Open the Server Administration Web Page</a></li>
<li><a class="reference internal" href="#add-a-new-house">Add a new house</a></li>
<li><a class="reference internal" href="#register-deployment-nodes">Register Deployment Nodes</a><ul>
<li><a class="reference internal" href="#registering-individual-nodes">Registering Individual Nodes</a></li>
<li><a class="reference internal" href="#registering-multiple-nodes-at-the-same-time">Registering Multiple Nodes at the Same time</a></li>
</ul>
</li>
</ul>
</li>
<li><a class="reference internal" href="#checking-node-status">Checking Node Status</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="terminology.html"
                        title="previous chapter">Terminology Used</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="code.html"
                        title="next chapter">Working with the software</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/deployment.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="code.html" title="Working with the software"
             >next</a> |</li>
        <li class="right" >
          <a href="terminology.html" title="Terminology Used"
             >previous</a> |</li>
        <li><a href="index.html">Cogent Viewer 0.1 documentation</a> &raquo;</li>
          <li><a href="webinterface.html" >Working with the Web Interface</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2011, Daniel Goldsmith.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>